import type { AppRouteModule } from '/@/router/types'

import { LAYOUT } from '/@/router/constant'

const portal: AppRouteModule = {
  path: '/portal',
  name: 'Portal',
  component: LAYOUT,
  redirect: '/potral/user',
  meta: {
    orderNo: 6,
    icon: 'ion:bar-chart-outline',
    title: '门户管理',
  },
  children: [
    {
      path: 'user',
      name: 'UserManagement',
      component: () => import('/@/views/userManagement/index.vue'),
      meta: {
        // affix: true,
        title: '用户管理',
      },
    },
    {
      path: 'changePassword',
      name: 'ChangePassword',
      //component: () => import('/@/views/topo/CoreNetworkTopology.vue'),
      meta: {
        title: '修改密码',
      },
    },
  ],
}

export default portal
